If you previously implemented the InitForJob and TermForJob functions in the private C code module with your UFL function definitions, delete those functions now since they are being replaced by the functions in UFJOB.C. Now, in your private C module, define the InitJob and TermJob functions which InitForJob and TermForJob call. You can use these functions to add job initialization or job termination code to your UFL, but they can also remain blank.
Following are examples of how you might implement these functions for your own UFL:
void InitJob (struct JobInfo *jobInfo)
{
} void TermJob (struct JobInfo *jobInfo)
{
If (jobInfo->data != 0)
free (jobInfo->data);
}
Once you have done all this, you can make full use of the JobInfo structure with your own UFL function code.
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |